package lt.ntec.danblog.server.blog.model.objectify;

/**
 *
 * @author Tadas Šubonis (tadas.subonis@affecto.com)
 */

import lt.ntec.danblog.server.blog.model.PostDAO;
import com.google.inject.servlet.ServletModule;
import lt.ntec.danblog.server.blog.model.PostFactory;
import lt.ntec.danblog.server.core.model.CommentDAO;

public class ObjectifyBlogModelModule extends ServletModule {

    @Override
    protected void configureServlets() {
        bind(PostDAO.class).to(ObjectifyBlogPostDAO.class);
        bind(CommentDAO.class).to(ObjectifyCommentDAO.class);
        bind(PostFactory.class).to(ObjectifyPostFactory.class);
    }
}
